package com.bckj.fastboot.iot.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bckj.fastboot.core.lang.model.PageResult;

import com.bckj.fastboot.iot.common.dto.query.IotDeviceDataQuery;
import com.bckj.fastboot.iot.common.dto.response.IotDeviceDataResponse;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * IotDeviceDataQueryService
 *
 * @author wfc
 * @date 2025/10/31 16:08
 **/
public interface IotDeviceDataQueryService {

    List<IotDeviceDataResponse> findDataList(IotDeviceDataQuery query);

    PageResult<IotDeviceDataResponse> page(IPage<IotDeviceDataResponse> page, IotDeviceDataQuery query);

    IotDeviceDataResponse realData(IotDeviceDataQuery query);

    PageResult<IotDeviceDataResponse> historyData(Pageable page, IotDeviceDataQuery query);

    IotDeviceDataResponse lineData(IotDeviceDataQuery query);

}
